import Vue from 'vue'
import App from './App'
import ApiController from '@/common/api/api.js'
import UniSocket from '@/common/socket/index.js'
Vue.config.productionTip = false

App.mpType = 'app'
import './static/svg/index.js'
import store from './store/index.js'
const isNotch = plus.navigator.hasNotchInScreen()
// const apiController = new ApiController(3600)
const socket = new UniSocket('1337207252645347329')
socket.init()
Vue.prototype.$isNotch = isNotch
Vue.prototype.$store = store
Vue.prototype.$socket = socket
const app = new Vue({
    ...App
})
app.$mount()
